<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/jquery-1.11.3.js"></script>
</head>
<body>
<ul>
    <li>土耳其</li>
    <li>丹麦</li>
    <li>瑞士</li>
</ul>
<ul>
    <li>法国</li>
    <li>泰国</li>
    <li>迪拜</li>
</ul>

<script type="text/javascript">
    $('li:first-child').css('color', 'green');
    $('li:last-child').css('color', 'yellow');
</script>

</body>
</html>